Optimal. Leaf size=127 \[ \frac {1}{6} e x^6 \left (b^2 e^2+6 b c d e+3 c^2 d^2\right )+\frac {1}{5} d x^5 \left (3 b^2 e^2+6 b c d e+c^2 d^2\right )+\frac {1}{3} b^2 d^3 x^3+\frac {1}{4} b d^2 x^4 (3 b e+2 c d)+\frac {1}{7} c e^2 x^7 (2 b e+3 c d)+\frac {1}{8} c^2 e^3 x^8 \]
________________________________________________________________________________________
Rubi [A] time = 0.09, antiderivative size = 127, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 1, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.053, Rules used = {698} \begin {gather*} \frac {1}{6} e x^6 \left (b^2 e^2+6 b c d e+3 c^2 d^2\right )+\frac {1}{5} d x^5 \left (3 b^2 e^2+6 b c d e+c^2 d^2\right )+\frac {1}{3} b^2 d^3 x^3+\frac {1}{4} b d^2 x^4 (3 b e+2 c d)+\frac {1}{7} c e^2 x^7 (2 b e+3 c d)+\frac {1}{8} c^2 e^3 x^8 \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 698
Rubi steps
\begin {align*} \int (d+e x)^3 \left (b x+c x^2\right )^2 \, dx &=\int \left (b^2 d^3 x^2+b d^2 (2 c d+3 b e) x^3+d \left (c^2 d^2+6 b c d e+3 b^2 e^2\right ) x^4+e \left (3 c^2 d^2+6 b c d e+b^2 e^2\right ) x^5+c e^2 (3 c d+2 b e) x^6+c^2 e^3 x^7\right ) \, dx\\ &=\frac {1}{3} b^2 d^3 x^3+\frac {1}{4} b d^2 (2 c d+3 b e) x^4+\frac {1}{5} d \left (c^2 d^2+6 b c d e+3 b^2 e^2\right ) x^5+\frac {1}{6} e \left (3 c^2 d^2+6 b c d e+b^2 e^2\right ) x^6+\frac {1}{7} c e^2 (3 c d+2 b e) x^7+\frac {1}{8} c^2 e^3 x^8\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.02, size = 127, normalized size = 1.00 \begin {gather*} \frac {1}{6} e x^6 \left (b^2 e^2+6 b c d e+3 c^2 d^2\right )+\frac {1}{5} d x^5 \left (3 b^2 e^2+6 b c d e+c^2 d^2\right )+\frac {1}{3} b^2 d^3 x^3+\frac {1}{4} b d^2 x^4 (3 b e+2 c d)+\frac {1}{7} c e^2 x^7 (2 b e+3 c d)+\frac {1}{8} c^2 e^3 x^8 \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int (d+e x)^3 \left (b x+c x^2\right )^2 \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.36, size = 134, normalized size = 1.06 \begin {gather*} \frac {1}{8} x^{8} e^{3} c^{2} + \frac {3}{7} x^{7} e^{2} d c^{2} + \frac {2}{7} x^{7} e^{3} c b + \frac {1}{2} x^{6} e d^{2} c^{2} + x^{6} e^{2} d c b + \frac {1}{6} x^{6} e^{3} b^{2} + \frac {1}{5} x^{5} d^{3} c^{2} + \frac {6}{5} x^{5} e d^{2} c b + \frac {3}{5} x^{5} e^{2} d b^{2} + \frac {1}{2} x^{4} d^{3} c b + \frac {3}{4} x^{4} e d^{2} b^{2} + \frac {1}{3} x^{3} d^{3} b^{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.15, size = 131, normalized size = 1.03 \begin {gather*} \frac {1}{8} \, c^{2} x^{8} e^{3} + \frac {3}{7} \, c^{2} d x^{7} e^{2} + \frac {1}{2} \, c^{2} d^{2} x^{6} e + \frac {1}{5} \, c^{2} d^{3} x^{5} + \frac {2}{7} \, b c x^{7} e^{3} + b c d x^{6} e^{2} + \frac {6}{5} \, b c d^{2} x^{5} e + \frac {1}{2} \, b c d^{3} x^{4} + \frac {1}{6} \, b^{2} x^{6} e^{3} + \frac {3}{5} \, b^{2} d x^{5} e^{2} + \frac {3}{4} \, b^{2} d^{2} x^{4} e + \frac {1}{3} \, b^{2} d^{3} x^{3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.04, size = 128, normalized size = 1.01 \begin {gather*} \frac {c^{2} e^{3} x^{8}}{8}+\frac {b^{2} d^{3} x^{3}}{3}+\frac {\left (2 e^{3} b c +3 d \,e^{2} c^{2}\right ) x^{7}}{7}+\frac {\left (e^{3} b^{2}+6 d \,e^{2} b c +3 d^{2} e \,c^{2}\right ) x^{6}}{6}+\frac {\left (3 d \,e^{2} b^{2}+6 d^{2} e b c +c^{2} d^{3}\right ) x^{5}}{5}+\frac {\left (3 d^{2} e \,b^{2}+2 b c \,d^{3}\right ) x^{4}}{4} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 1.31, size = 127, normalized size = 1.00 \begin {gather*} \frac {1}{8} \, c^{2} e^{3} x^{8} + \frac {1}{3} \, b^{2} d^{3} x^{3} + \frac {1}{7} \, {\left (3 \, c^{2} d e^{2} + 2 \, b c e^{3}\right )} x^{7} + \frac {1}{6} \, {\left (3 \, c^{2} d^{2} e + 6 \, b c d e^{2} + b^{2} e^{3}\right )} x^{6} + \frac {1}{5} \, {\left (c^{2} d^{3} + 6 \, b c d^{2} e + 3 \, b^{2} d e^{2}\right )} x^{5} + \frac {1}{4} \, {\left (2 \, b c d^{3} + 3 \, b^{2} d^{2} e\right )} x^{4} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.17, size = 118, normalized size = 0.93 \begin {gather*} x^5\,\left (\frac {3\,b^2\,d\,e^2}{5}+\frac {6\,b\,c\,d^2\,e}{5}+\frac {c^2\,d^3}{5}\right )+x^6\,\left (\frac {b^2\,e^3}{6}+b\,c\,d\,e^2+\frac {c^2\,d^2\,e}{2}\right )+\frac {b^2\,d^3\,x^3}{3}+\frac {c^2\,e^3\,x^8}{8}+\frac {b\,d^2\,x^4\,\left (3\,b\,e+2\,c\,d\right )}{4}+\frac {c\,e^2\,x^7\,\left (2\,b\,e+3\,c\,d\right )}{7} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.10, size = 138, normalized size = 1.09 \begin {gather*} \frac {b^{2} d^{3} x^{3}}{3} + \frac {c^{2} e^{3} x^{8}}{8} + x^{7} \left (\frac {2 b c e^{3}}{7} + \frac {3 c^{2} d e^{2}}{7}\right ) + x^{6} \left (\frac {b^{2} e^{3}}{6} + b c d e^{2} + \frac {c^{2} d^{2} e}{2}\right ) + x^{5} \left (\frac {3 b^{2} d e^{2}}{5} + \frac {6 b c d^{2} e}{5} + \frac {c^{2} d^{3}}{5}\right ) + x^{4} \left (\frac {3 b^{2} d^{2} e}{4} + \frac {b c d^{3}}{2}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________